/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.financial.entity.declarationnotice;

import org.hibernate.validator.constraints.Length;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 报关通知Entity
 * @author shengbin
 * @version 2021-03-05
 */
@Table(name="t_customs_declaration_notice_list", alias="a", columns={
		@Column(name="customs_declaration_notice_list_id", attrName="customsDeclarationNoticeListId", label="报关通知清单ID", isPK=true),
		@Column(name="data", attrName="data", label="资料名称"),
		@Column(name="customs_declaration_notice_id", attrName="customsDeclarationNoticeId.customsDeclarationNoticeId", label="报关通知ID"),
	}, orderBy="a.customs_declaration_notice_list_id ASC"
)
public class TdeclarationNoticeList extends DataEntity<TdeclarationNoticeList> {
	
	private static final long serialVersionUID = 1L;
	private String customsDeclarationNoticeListId;		// 报关通知清单ID
	private String data;		// 资料名称
	private TdeclarationNotice customsDeclarationNoticeId;		// 报关通知ID 父类
	
	public TdeclarationNoticeList() {
		this( null);
	}


	public TdeclarationNoticeList(TdeclarationNotice customsDeclarationNoticeId){
		this.customsDeclarationNoticeId = customsDeclarationNoticeId;
	}
	
	public String getCustomsDeclarationNoticeListId() {
		return customsDeclarationNoticeListId;
	}

	public void setCustomsDeclarationNoticeListId(String customsDeclarationNoticeListId) {
		this.customsDeclarationNoticeListId = customsDeclarationNoticeListId;
	}
	
	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}
	
	@Length(min=0, max=64, message="报关通知ID长度不能超过 64 个字符")
	public TdeclarationNotice getCustomsDeclarationNoticeId() {
		return customsDeclarationNoticeId;
	}

	public void setCustomsDeclarationNoticeId(TdeclarationNotice customsDeclarationNoticeId) {
		this.customsDeclarationNoticeId = customsDeclarationNoticeId;
	}
	
}